<form action="<?php echo $action ?>" method="post" name="form" id="form"> 
<?php echo $table; ?>
</form>